package com.wzcl.app.service;

import com.wzcl.app.dao.model.TopicOption;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.TopicOptionDto;

import java.util.List;

public interface TopicOptionService extends BaseService<TopicOption, TopicOptionDto> {
    TopicOption addTopicOption(TopicOptionDto topicOptionDto);

    TopicOption delTopicOptionById(Integer id);

    TopicOption updateTopicOption(TopicOptionDto topicOptionDto);

    TopicOption getTopicOptionById(Integer id);

    List<TopicOption> getTopicOptionList(TopicOptionDto topicOptionDto);

    MyPage<TopicOption> getTopicOptionPage(TopicOptionDto topicOptionDto);
}
